home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1997 January: Mac OS SDK / Dev.CD Jan 97 SDK2.toast / Development Kits (Disc 2) / OpenDoc Development Framework / ODFDev / ODF / Found / FWCommon / SLStdDef.idl < prev   
Encoding:
Text File  |  1996-09-17  |  1.6 KB  |  69 lines  |  [TEXT/MPS ]

  1. //========================================================================================
  2. //
  3. //    File:                SLStdDef.idl
  4. //    Release Version:    $ ODF 2 $
  5. //
  6. //    Copyright:    (c) 1993 - 1996 by Apple Computer, Inc., all rights reserved.
  7. //
  8. //========================================================================================
  9.  
  10. #ifndef SLSTDDEF_IDL
  11. #define SLSTDDEF_IDL
  12.  
  13. #ifndef FWENVDEF_IDL
  14. #include "FWEnvDef.idl"
  15. #endif
  16.  
  17. //========================================================================================
  18. //
  19. // This file is a mimic of FWStdDef.h with respect to the sizes of the entities defined 
  20. // in FWStdDef.h.  By including this file into other .idl files, you can use the same 
  21. // types in your .idl as you would use in the .h
  22. //
  23. //========================================================================================
  24.  
  25. #include <somobj.idl>
  26. #include <somcls.idl>
  27.  
  28. /*========================================================================================
  29. /    Type definitions
  30. /========================================================================================*/
  31.  
  32. typedef     octet             FW_Boolean;
  33.  
  34. typedef     unsigned short     FW_ResourceID;
  35.  
  36. typedef     long            FW_PlatformError;
  37.  
  38. // ----- Macintosh -----
  39. #ifdef FW_BUILD_MAC
  40.  
  41. typedef        short            FW_PlatformCoordinate;
  42.  
  43. typedef     void*             FW_PlatformHandle;
  44.  
  45. typedef     void*            FW_Instance;
  46.  
  47. typedef     unsigned long     FW_ResourceType;
  48.  
  49. #endif
  50.  
  51.  
  52. // ----- Windows -----
  53. #ifdef FW_BUILD_WIN
  54.  
  55. typedef        long            FW_PlatformCoordinate;
  56.  
  57. typedef        void*            FW_PlatformHandle;
  58.  
  59. typedef     void*             FW_Instance;
  60.  
  61. typedef     unsigned short     FW_ResourceType;
  62.  
  63. typedef        somToken        HINSTANCE;
  64. typedef        somToken        HRSRC;
  65.  
  66. #endif
  67.  
  68. #endif
  69.